home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 353_02 / person.h < prev    next >
C/C++ Source or Header  |  1992-01-18  |  276b  |  14 lines

  1.                                    // Chapter 11 - Program 1
  2. #ifndef PERSON_H
  3. #define PERSON_H
  4.  
  5. class person {
  6. protected:       // Make these variables available to the subclasses
  7.    char name[25];
  8.    int salary;
  9. public:
  10.    virtual void display(void);
  11. };
  12.  
  13. #endif
  14.